<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul li {
          width: 200px;
          height: 20px;
          margin-top: 10px;
        }
        ul li button {
          float: right;
        }
        .textbox {
          margin-left: 20px;
        }
      </style>
</head>
<body>
    <body>
        <div class="textbox">
          <input id="text" /> <button class="add">添加任务</button>
        </div>
        <ul class="list">
          <li>学前端<button>删除</button></li>
          <li>学后端<button>删除</button></li>
          <li>学运维<button>删除</button></li>
          <li>学安全<button>删除</button></li>
          <li>学不懂<button>删除</button></li>
        </ul>
        <script src="./hh.js"></script>
      </body>
</body>
</html>